package com.hqd.ch03.v21.aop.support;

import com.hqd.ch03.v21.aop.MethodMatcher;

import java.lang.reflect.Method;

public abstract class StaticMethodMatcher implements MethodMatcher {
    @Override
    public boolean isRuntime() {
        return false;
    }

    @Override
    public final boolean matches(Method method, Class<?> targetClass, Object... args) {
        throw new UnsupportedOperationException("Illegal MethodMatcher usage");
    }
}
